import req from '../utils/axiosUtil'
import {API_HOST} from '../settings'


//根据代理商ID查询商店ID
export async function selBusinessID(params) {
    return req.post(`${API_HOST}/app/business/getBusinessByAgentId`, {
      ...params
    })
  }
//根据token查询用户信息
export async function selUserInfo(params) {
  return req.post(`${API_HOST}/app/user/getUserInfoByToken`, {
    ...params
  })
}